# name : proc stdize: Replace missing values with group mean
# key : stdize.replace.missing.with.mean.snippet
# contributor: Shuguang Sun
# --
proc stdize data=${1:dtin} out=${2:dout} reponly missing=mean;
  by ${3:group};
run;